package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 jifen_points_exchange_order
 * 
 * @author ruoyi
 * @date 2025-05-14
 */
public class JifenPointsExchangeOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long orderId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    /** 1纯积分 2混合支付 */
    @Excel(name = "1纯积分 2混合支付")
    private Long exchangeType;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long pointsUsed;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal cashAmount;

    /** 商品快照 */
    @Excel(name = "商品快照")
    private String snapshotData;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long status;

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setExchangeType(Long exchangeType) 
    {
        this.exchangeType = exchangeType;
    }

    public Long getExchangeType() 
    {
        return exchangeType;
    }

    public void setPointsUsed(Long pointsUsed) 
    {
        this.pointsUsed = pointsUsed;
    }

    public Long getPointsUsed() 
    {
        return pointsUsed;
    }

    public void setCashAmount(BigDecimal cashAmount) 
    {
        this.cashAmount = cashAmount;
    }

    public BigDecimal getCashAmount() 
    {
        return cashAmount;
    }

    public void setSnapshotData(String snapshotData) 
    {
        this.snapshotData = snapshotData;
    }

    public String getSnapshotData() 
    {
        return snapshotData;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("userId", getUserId())
            .append("exchangeType", getExchangeType())
            .append("pointsUsed", getPointsUsed())
            .append("cashAmount", getCashAmount())
            .append("snapshotData", getSnapshotData())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
